package ac.neec.mio.ui.fragment;

import android.app.AlertDialog;
import android.app.Dialog;
import android.app.DialogFragment;
import android.os.Bundle;

public class SearchErrorDialog extends DialogFragment {

	private static final String ALERT_TEXT = "指定されたデータはありません";

	@Override
	public Dialog onCreateDialog(Bundle savedInstanceState) {
		// Use the Builder class for convenient dialog construction
		AlertDialog.Builder builder = new AlertDialog.Builder(getActivity());
		builder.setMessage(ALERT_TEXT);
		// Create the AlertDialog object and return it
		return builder.create();
	}

}
